<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IList<AvansRS.Domain.EventDate>>" %>
<%@ Import Namespace="AvansRS.Domain" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>EventDates</h2>
    Selecteer een dag:<br /><br />
    <%
        foreach (EventDate eventDate in Model)
        {
            
            %>
            <%=Html.ActionLink(eventDate.Date.ToLongDateString(), "RegisterOnEventDate", "Register", new { ID = eventDate.ID }, null)%>
            <br />
            <br />
            <%
  
        } %>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
